package com.foreknow.service;

import com.foreknow.model.Guestbook;
import com.foreknow.util.Pagination;

import java.sql.SQLException;
import java.util.List;

public interface GuestbookService {
    public  boolean save(Guestbook guestbook);


    public List<Object> queryinfo();

    public  boolean deleteBean(Integer id);

    public boolean isupdate(Guestbook guestbook);


    public Guestbook isgetid(int id);

    /**
     * 分页查询留言信息
     * @param pageSize
     * @param pageNumber
     * @return
     */
    public Pagination getByPage(int pageSize,int pageNumber) ;

}
